package com.songleibing.project.pipeline.demo;

import com.songleibing.project.pipeline.HandlerContext;
import com.songleibing.project.pipeline.HandlerResult;
import com.songleibing.project.pipeline.impl.BaseHandler;

public class Handler3 extends BaseHandler {

    @Override
    public HandlerResult handle(HandlerContext context) throws Exception {
        System.out.println(this.getClass().getSimpleName() + " --- handle");
        return HandlerResult.SUCCESS;
    }

    @Override
    public void postHandle(HandlerContext context, Exception exception) {
        System.out.println(this.getClass().getSimpleName() + " --- postHandle --- " + exception);
    }
}
